@layout("/common/head.html"){
<div class="layui-fluid">
    <div class="layui-row layui-col-space15">
        <div class="layui-col-md12">
            <div class="layui-card">
                <div class="layui-card-body ">
                    <form class="layui-form layui-col-space5">
                        <div class="layui-inline layui-show-xs-block">
                            <#select selectName="员工姓名" id="leaveId" name="leaveId" list="${users}" optionName="userNick" optionValue="id" />
                        </div>
                        <div class="layui-inline layui-show-xs-block">
                            <div class="layui-form-item">
                                <label class="layui-form-label">请假日期：</label>
                                <div class="layui-input-inline">
                                    <input class="layui-input" autocomplete="off" placeholder="请假日期" name="leaveDate"
                                           id="leaveDate">
                                </div>
                            </div>
                        </div>
                        <div class="layui-inline layui-show-xs-block">
                            <div class="layui-form-item">
                                <div class="layui-input-inline">
                                    <button class="layui-btn" lay-submit="" lay-filter="search"><i
                                            class="layui-icon">&#xe615;</i></button>
                                </div>
                            </div>
                        </div>
                    </form>
                </div>
                <div class="layui-card-header" id="toolBar">
                    <button class="layui-btn layui-btn" id="add">
                        <i class="layui-icon">&#xe654;</i>新增
                    </button>
                    <button class="layui-btn layui-btn" id="edit">
                        <i class="layui-icon">&#xe642;</i>修改
                    </button>
                    <button class="layui-btn layui-btn-danger" id="del">
                        <i class="layui-icon">&#xe640;</i>删除
                    </button>
                    <button class="layui-btn layui-btn" id="approval">
                        <i class="layui-icon">&#xe642;</i>审批
                    </button>
                </div>
                <table class="layui-hide" id="tb" lay-filter="tb"></table>
            </div>
        </div>
    </div>
</div>
<script src="${ctxPath}/static/modules/salary/leave/leave_index.js"></script>
@}